<template>
  <div class="swiper-container">
    <div class="swiper-wrapper">
      <!-- <div class="swiper-slide" v-for="(img, index) in imgs" :key="index">
        <img :src="img" />
      </div> -->
      <!-- <img src="@/assets/img/bg.jpg" alt="" /> -->
      <img src="../../../public/imgs/888.jpg" alt="" />
    </div>
    <!-- 如果需要分页器 -->
    <div class="swiper-pagination"></div>
  </div>
</template>
<script>
// import Swiper from "swiper;
// import "swiper/css/swiper.css";
export default {
  name: "NavrightTop",
  props: [],
  data() {
    return {
      imgs: ["imgs/888.jpg", "imgs/999.jpg"],
    };
  },
  //   mounted() {
  //     var swiper = new Swiper(".swiper-container", {
  //       spaceBetween: 30,
  //       centeredSlides: true,
  //       autoplay: {
  //         delay: 2500,
  //         disableOnInteraction: false,
  //       },
  //       pagination: {
  //         el: ".swiper-pagination",
  //         clickable: true,
  //       },
  //     });
  //   },
};
</script>
<style scoped>
.swiper-container {
  float: left;
  margin-top: 0.4rem;
  width: 2.6rem;
  height: 0.8rem;
  /* background-color:yellow; */
}
.swiper-wrapper {
  width: 100%;
  /* width: 2rem; */
  height: 0.8rem;
}
.swiper-container img {
  width: 100%;
  height: 100%;
}
</style>